<template>
  <div>
     <van-card
        v-for="v in book"
        :key="v.id"
        :desc="v.desc"
        :title="v.title"
        :thumb="v.url"
        @click="toDetail(v.id)"
    />
  </div>
</template>

<script>
export default {
  computed: {
    book() {
      return this.$store.state.book
    }
  }
}
</script>